package com.hxzy.service.impl;

import com.hxzy.entity.Type;
import com.hxzy.mapper.TypeMapper;
import com.hxzy.service.TypeService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
@Slf4j
public class TypeServiceImpl implements TypeService {

    @Autowired
    private TypeMapper typeMapper;

    @Override
    public List<Type> selectTypeList() {
        return typeMapper.selectTypeList();
    }
}
